Optimal. Leaf size=151 \[ -\frac {a^3 \sqrt {a^2+2 a b x+b^2 x^2}}{7 x^7 (a+b x)}-\frac {a^2 b \sqrt {a^2+2 a b x+b^2 x^2}}{2 x^6 (a+b x)}-\frac {3 a b^2 \sqrt {a^2+2 a b x+b^2 x^2}}{5 x^5 (a+b x)}-\frac {b^3 \sqrt {a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {660, 45}
\begin {gather*} -\frac {a^2 b \sqrt {a^2+2 a b x+b^2 x^2}}{2 x^6 (a+b x)}-\frac {3 a b^2 \sqrt {a^2+2 a b x+b^2 x^2}}{5 x^5 (a+b x)}-\frac {b^3 \sqrt {a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)}-\frac {a^3 \sqrt {a^2+2 a b x+b^2 x^2}}{7 x^7 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 660
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{x^8} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {\left (a b+b^2 x\right )^3}{x^8} \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (\frac {a^3 b^3}{x^8}+\frac {3 a^2 b^4}{x^7}+\frac {3 a b^5}{x^6}+\frac {b^6}{x^5}\right ) \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=-\frac {a^3 \sqrt {a^2+2 a b x+b^2 x^2}}{7 x^7 (a+b x)}-\frac {a^2 b \sqrt {a^2+2 a b x+b^2 x^2}}{2 x^6 (a+b x)}-\frac {3 a b^2 \sqrt {a^2+2 a b x+b^2 x^2}}{5 x^5 (a+b x)}-\frac {b^3 \sqrt {a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 55, normalized size = 0.36 \begin {gather*} -\frac {\sqrt {(a+b x)^2} \left (20 a^3+70 a^2 b x+84 a b^2 x^2+35 b^3 x^3\right )}{140 x^7 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.49, size = 52, normalized size = 0.34
method | result | size |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (-\frac {1}{4} b^{3} x^{3}-\frac {3}{5} a \,b^{2} x^{2}-\frac {1}{2} a^{2} b x -\frac {1}{7} a^{3}\right )}{\left (b x +a \right ) x^{7}}\) | \(51\) |
gosper | \(-\frac {\left (35 b^{3} x^{3}+84 a \,b^{2} x^{2}+70 a^{2} b x +20 a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{140 x^{7} \left (b x +a \right )^{3}}\) | \(52\) |
default | \(-\frac {\left (35 b^{3} x^{3}+84 a \,b^{2} x^{2}+70 a^{2} b x +20 a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{140 x^{7} \left (b x +a \right )^{3}}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 225 vs.
\(2 (99) = 198\).
time = 0.28, size = 225, normalized size = 1.49 \begin {gather*} -\frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b^{7}}{4 \, a^{7}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b^{6}}{4 \, a^{6} x} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{5}}{4 \, a^{7} x^{2}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{4}}{4 \, a^{6} x^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{3}}{4 \, a^{5} x^{4}} - \frac {17 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b^{2}}{70 \, a^{4} x^{5}} + \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} b}{14 \, a^{3} x^{6}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}}}{7 \, a^{2} x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.98, size = 35, normalized size = 0.23 \begin {gather*} -\frac {35 \, b^{3} x^{3} + 84 \, a b^{2} x^{2} + 70 \, a^{2} b x + 20 \, a^{3}}{140 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}{x^{8}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.59, size = 74, normalized size = 0.49 \begin {gather*} \frac {b^{7} \mathrm {sgn}\left (b x + a\right )}{140 \, a^{4}} - \frac {35 \, b^{3} x^{3} \mathrm {sgn}\left (b x + a\right ) + 84 \, a b^{2} x^{2} \mathrm {sgn}\left (b x + a\right ) + 70 \, a^{2} b x \mathrm {sgn}\left (b x + a\right ) + 20 \, a^{3} \mathrm {sgn}\left (b x + a\right )}{140 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.20, size = 135, normalized size = 0.89 \begin {gather*} -\frac {a^3\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{7\,x^7\,\left (a+b\,x\right )}-\frac {b^3\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{4\,x^4\,\left (a+b\,x\right )}-\frac {3\,a\,b^2\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{5\,x^5\,\left (a+b\,x\right )}-\frac {a^2\,b\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}}{2\,x^6\,\left (a+b\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________